package classfile

type ConstantLongInfo struct {
	tag uint8
	//high_bytes uint32
	//low_bytes  uint32
	val int64
}

func (self *ConstantLongInfo) readInfo(reader *ClassReader) {
	self.tag = 5
	bytes := reader.readUint64()
	self.val = int64(bytes)
}

func (self *ConstantLongInfo) Value() int64 {
	return self.val
}
